package xiaomogu.task_engine.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xiaomogu.task_engine.admin.core.model.JobLogReport;

import java.util.Date;
import java.util.List;

/**
 * job log
 *
 * @author xuxueli 2019-11-22
 */
@Mapper
public interface JobLogReportDao {

    public int save(JobLogReport jobLogReport);

    public int update(JobLogReport jobLogReport);

    public List<JobLogReport> queryLogReport(@Param("triggerDayFrom") Date triggerDayFrom,
                                             @Param("triggerDayTo") Date triggerDayTo);

    public JobLogReport queryLogReportTotal();

}
